<template>
	<view>
		<a-dropdown>
			<a-menu slot="overlay" @click="handleMenuClick">
				<a-menu-item key="DELETE">
					删除
				</a-menu-item>
			</a-menu>
			<a-button> 操作
				<a-icon type="down" />
			</a-button>
		</a-dropdown>
	</view>

</template>

<script>
	export default {
		methods: {

			handleMenuClick(e) {
				if(e.key=='EDIT'){
					
					console.log(this.params)
				}
				if(e.key=='DELETE'){
					console.log('DELETE')
				}
			}
		}
	}
</script>

<style>
</style>
